+2008-06-18 Michael Natterer <mitch@imendio.com>
+
+ * gdk/gdk.h: deprecate GdkDestroyNotify.
+
+ * gdk/gdkevents.c
+ * gdk/gdktypes.h
+ * gdk/x11/gdkevents-x11.c
+ * gtk/gtkmain.c: s/GdkDestroyNotify/GDestroyNotify/g.
+
2008-06-18 Michael Natterer <mitch@imendio.com>
* gtk/gtktypeutils.h: deprecate GtkDestroyNotify.
GdkInputCondition condition,
GdkInputFunction function,
gpointer data,
- GdkDestroyNotify destroy);
+ GDestroyNotify destroy);
#endif /* !GDK_DISABLE_DEPRECATED || GTK_COMPILATION */
#ifndef GDK_DISABLE_DEPRECATED
gint gdk_input_add (gint source,
{
GdkInputFunction function;
GdkInputCondition condition;
- GdkDestroyNotify notify;
+ GDestroyNotify notify;
gpointer data;
};
GdkInputCondition condition,
GdkInputFunction function,
gpointer data,
- GdkDestroyNotify destroy)
+ GDestroyNotify destroy)
{
guint result;
GdkIOClosure *closure = g_new (GdkIOClosure, 1);
gint source,
GdkInputCondition condition);
+#ifndef GDK_DISABLE_DEPRECATED
+
typedef void (*GdkDestroyNotify) (gpointer data);
+#endif /* GDK_DISABLE_DEPRECATED */
+
struct _GdkPoint
{
gint x;
{
GdkInputFunction function;
GdkInputCondition condition;
- GdkDestroyNotify notify;
+ GDestroyNotify notify;
gpointer data;
};
condition,
(GdkInputFunction) gtk_invoke_input,
closure,
- (GdkDestroyNotify) gtk_destroy_closure);
+ (GDestroyNotify) gtk_destroy_closure);
}
else
return gdk_input_add_full (source, condition, function, data, destroy);